﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using ESoft.Office.Excel.BO;

namespace ESoft.Office.Excel
{
    /// <summary>
    /// Excel服务
    /// </summary>
    public interface IExcelService
    {
        /// <summary>
        /// 导出Excel
        /// </summary>
        /// <param name="inputBo"></param>
        /// <typeparam name="T"></typeparam>
        /// <returns></returns>
        Task ExportAsync<T>(ExportInputBo<T> inputBo) where T:new();
    }
}